package cn.cmdr.service;

import cn.cmdr.pojo.Credit;
import cn.cmdr.pojo.Supplier;
import cn.cmdr.vo.ComVo;
import cn.cmdr.vo.PageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SupplierService extends IService<Supplier> {
//    public PageVo getPageComList(Integer pageNo, Integer pageSize);
    List<Supplier> getSupplier(Integer brandId);

    public PageVo getSupPage(Integer pageNo, Integer pageSize,Supplier supplierVo);

    void add(Supplier supplier);

    List<Credit> getCredit();

    void updateSupplier(Supplier supplier);
}
